package com.jianhua.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jianhua.backend.domain.entity.UserAddresses;

import java.util.List;

/**
 * <p>
 * 存储用户在各场馆的配送地址信息 服务类
 * </p>
 *
 * @author author
 * @since 2025-07-02
 */
public interface UserAddressesService extends IService<UserAddresses> {

    List<UserAddresses> getUserAddressesByUserId(Integer userId);

    boolean addAddress(UserAddresses address);

    void updateAddress(UserAddresses address);

    void deleteAddress(Integer id);
}
